export default {
    path: '/user',
    name: 'user',
    redirect: '/user/list',
    component: () => import('@/views/layout/layout.vue'),
    meta: {
        title: '用户管理',
    },
    children: [
        {
            path: 'list',
            name: 'userList',
            component: () => import('@/views/user/list'),
            meta: {
                title: '用户管理',
            },
        },
        {
            path: 'role',
            name: 'userRole',
            component: () => import('@/views/user/role'),
            meta: {
                title: '角色管理'
            }
        },
        {
            path: 'permission',
            name: 'userPermission',
            component: () => import('@/views/user/permission'),
            meta: {
                title: '权限管理'
            }
        }
    ],
};
